﻿namespace DynamicGeometry
{
    public class Polygon : PolygonBase, IShapeWithInterior
    {
        public override void UpdateVisual()
        {
            Shape.Points = Drawing.CoordinateSystem
                .ToPhysical(Dependencies.ToPoints())
                .ToPointCollection();
        }
    }
}
